package com.googlecode.springgameengine.resource;

/**
 *
 * @author Maciej
 */
public abstract class ResourceLoaderResolver implements ResourceLoader {
	public abstract ResourceLoader resolve(ResourceDescriptor resourceDescriptor);
	
	@Override
	public Resource load(ResourceDescriptor resourceDescriptor) throws ResourceNotLoadableException {
		return resolve(resourceDescriptor).load(resourceDescriptor);
	}
}
